package com.yunfei.springbootgoods.mapper;

import com.yunfei.springbootgoods.entity.ShoppingCar;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShoppingCarMapper {

    void addShoppingCar(ShoppingCar shoppingCar);

    void deleteShoppingCar(Integer carId);

    ShoppingCar getShoppingCarById(Integer carId);

    List<ShoppingCar> getShoppingList();
}
